<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <title>特惠厂商</title>
    <link href="/resource/admin/css/common.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="/resource/admin/js/jquery.js"></script>
    <script type="text/javascript" src="/resource/admin/js/jquery.validate.js"></script>
    <script type="text/javascript" src="/resource/admin/editor/kindeditor.js"></script>
    <script type="text/javascript" src="/resource/admin/js/common.js"></script>
    <script type="text/javascript" src="/resource/admin/js/input.js"></script>
    <script type="text/javascript" src="/resource/admin/datePicker/WdatePicker.js"></script>
    <script type="text/javascript">
        $().ready(function() {
            [@flash_message /]
            var $browserButton = $("#browserButton");
            $browserButton.browser();
        });
    </script>
</head>
<body>
<div class="path">
    <a href="${base}/common/index">首页</a> &raquo;添加活动
</div>
<form id="inputForm" action="save" method="post" class="required-form" onsubmit="return validateForm(this)">
    <table class="input tabContent">
        <tr>
            <th>
                <span class="requiredField">*</span>名称
            </th>
            <td>
                <input type="text" name="name" class="text required" maxlength="100" />
            </td>
        </tr>
        <tr>
            <th>
                <span class="requiredField">*</span>描述
            </th>
            <td>
                <span class="fieldSet">
				    <input type="text" name="description" class="text" maxlength="50" style="width: 500px;"/>
                    <span style="color: #cc0000;">30个汉字以内的简短描述</span>
                </span>
            </td>
        </tr>
        <tr>
            <th>
                <span class="requiredField">*</span>LOGO
            </th>
            <td>
                <span class="fieldSet">
						<input type="text" id="image" name="image" class="text valid"  maxlength="200">
						<input type="button" id="browserButton" class="button" value="选择文件">
                </span>
            </td>
        </tr>
        <tr>
            <th>
                <span class="requiredField">*</span>URL
            </th>
            <td>
                <input type="text" name="url" class="text required" maxlength="100" />
            </td>
        </tr>
        <tr>
            <th>
                <span class="requiredField">*</span>排序
            </th>
            <td>
                <input type="text" name="order" class="text required" maxlength="100" />
            </td>
        </tr>
        <tr>
            <th>
                <span class="requiredField">*</span>置顶
            </th>
            <td>
                <label>
                    <input type="checkbox" name="isTop"  checked="checked" />置顶
                </label>
            </td>
        </tr>
        <tr>
            <th>
                <span class="requiredField">*</span>发布
            </th>
            <td>
                <label>
                    <input type="checkbox" name="isMarketable" checked="checked"/>发布
                </label>
            </td>
        </tr>
        <tr>
            <th>
                &nbsp;
            </th>
            <td>
                <input type="submit" class="button" value="提交" />
                <input type="button" class="button" value="返回" onclick="location.href='list'" />
            </td>
        </tr>
    </table>
</form>
</body>
</html>